The number in the mcmeta has to change accordingly to the Minecraft version:
https://minecraft.wiki/w/Pack_format